package com.woniuxy.entity.house.dto;

import com.woniuxy.entity.house.Building;
import com.woniuxy.entity.house.HouseType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 房屋表为主表查询其他表，形成房屋展示信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseTypeInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
    //房屋id
    private int id;
    private int htid;
    private int bid;
    private int price;
    private BigDecimal area;
    private BigDecimal total;
    private int floor;
    private String toward;
    //房屋户型信息
    private HouseType houseType;
    //小区展示信息
    private BuildingBaseDto buildingBaseDto;
}
